Option Strict On
Option Explicit On 

Public Class UParameter
    Inherits System.Windows.Forms.UserControl

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents txtName As System.Windows.Forms.TextBox
    Friend WithEvents lblName As System.Windows.Forms.Label
    Friend WithEvents cboDirection As System.Windows.Forms.ComboBox
    Friend WithEvents lblDirection As System.Windows.Forms.Label
    Friend WithEvents lblPrecision As System.Windows.Forms.Label
    Friend WithEvents lblScale As System.Windows.Forms.Label
    Friend WithEvents lblSize As System.Windows.Forms.Label
    Friend WithEvents cboSourceVersion As System.Windows.Forms.ComboBox
    Friend WithEvents lblSourceVersion As System.Windows.Forms.Label
    Friend WithEvents lblSourceColumn As System.Windows.Forms.Label
    Friend WithEvents lblValue As System.Windows.Forms.Label
    Friend WithEvents cboSourceColumn As System.Windows.Forms.ComboBox
    Friend WithEvents chkIsNullable As System.Windows.Forms.CheckBox
    Friend WithEvents lblDbType As System.Windows.Forms.Label
    Friend WithEvents cboDbType As System.Windows.Forms.ComboBox
    Friend WithEvents nudPrecision As System.Windows.Forms.NumericUpDown
    Friend WithEvents nudScale As System.Windows.Forms.NumericUpDown
    Friend WithEvents nudSize As System.Windows.Forms.NumericUpDown
    Friend WithEvents ErrorProvider1 As System.Windows.Forms.ErrorProvider
    Friend WithEvents txtValue As System.Windows.Forms.TextBox
    Friend WithEvents chkNothing As System.Windows.Forms.CheckBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(UParameter))
        Me.cboSourceVersion = New System.Windows.Forms.ComboBox
        Me.lblValue = New System.Windows.Forms.Label
        Me.lblSourceVersion = New System.Windows.Forms.Label
        Me.cboDbType = New System.Windows.Forms.ComboBox
        Me.nudPrecision = New System.Windows.Forms.NumericUpDown
        Me.lblDbType = New System.Windows.Forms.Label
        Me.lblPrecision = New System.Windows.Forms.Label
        Me.txtName = New System.Windows.Forms.TextBox
        Me.lblName = New System.Windows.Forms.Label
        Me.cboDirection = New System.Windows.Forms.ComboBox
        Me.lblDirection = New System.Windows.Forms.Label
        Me.nudScale = New System.Windows.Forms.NumericUpDown
        Me.lblScale = New System.Windows.Forms.Label
        Me.nudSize = New System.Windows.Forms.NumericUpDown
        Me.lblSize = New System.Windows.Forms.Label
        Me.lblSourceColumn = New System.Windows.Forms.Label
        Me.cboSourceColumn = New System.Windows.Forms.ComboBox
        Me.chkIsNullable = New System.Windows.Forms.CheckBox
        Me.ErrorProvider1 = New System.Windows.Forms.ErrorProvider
        Me.chkNothing = New System.Windows.Forms.CheckBox
        Me.txtValue = New System.Windows.Forms.TextBox
        CType(Me.nudPrecision, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.nudScale, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.nudSize, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'cboSourceVersion
        '
        Me.cboSourceVersion.AccessibleDescription = resources.GetString("cboSourceVersion.AccessibleDescription")
        Me.cboSourceVersion.AccessibleName = resources.GetString("cboSourceVersion.AccessibleName")
        Me.cboSourceVersion.Anchor = CType(resources.GetObject("cboSourceVersion.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboSourceVersion.BackgroundImage = CType(resources.GetObject("cboSourceVersion.BackgroundImage"), System.Drawing.Image)
        Me.cboSourceVersion.Dock = CType(resources.GetObject("cboSourceVersion.Dock"), System.Windows.Forms.DockStyle)
        Me.cboSourceVersion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboSourceVersion.Enabled = CType(resources.GetObject("cboSourceVersion.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.cboSourceVersion, resources.GetString("cboSourceVersion.Error"))
        Me.cboSourceVersion.Font = CType(resources.GetObject("cboSourceVersion.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.cboSourceVersion, CType(resources.GetObject("cboSourceVersion.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.cboSourceVersion, CType(resources.GetObject("cboSourceVersion.IconPadding"), Integer))
        Me.cboSourceVersion.ImeMode = CType(resources.GetObject("cboSourceVersion.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboSourceVersion.IntegralHeight = CType(resources.GetObject("cboSourceVersion.IntegralHeight"), Boolean)
        Me.cboSourceVersion.ItemHeight = CType(resources.GetObject("cboSourceVersion.ItemHeight"), Integer)
        Me.cboSourceVersion.Location = CType(resources.GetObject("cboSourceVersion.Location"), System.Drawing.Point)
        Me.cboSourceVersion.MaxDropDownItems = CType(resources.GetObject("cboSourceVersion.MaxDropDownItems"), Integer)
        Me.cboSourceVersion.MaxLength = CType(resources.GetObject("cboSourceVersion.MaxLength"), Integer)
        Me.cboSourceVersion.Name = "cboSourceVersion"
        Me.cboSourceVersion.RightToLeft = CType(resources.GetObject("cboSourceVersion.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboSourceVersion.Size = CType(resources.GetObject("cboSourceVersion.Size"), System.Drawing.Size)
        Me.cboSourceVersion.TabIndex = CType(resources.GetObject("cboSourceVersion.TabIndex"), Integer)
        Me.cboSourceVersion.Text = resources.GetString("cboSourceVersion.Text")
        Me.cboSourceVersion.Visible = CType(resources.GetObject("cboSourceVersion.Visible"), Boolean)
        '
        'lblValue
        '
        Me.lblValue.AccessibleDescription = resources.GetString("lblValue.AccessibleDescription")
        Me.lblValue.AccessibleName = resources.GetString("lblValue.AccessibleName")
        Me.lblValue.Anchor = CType(resources.GetObject("lblValue.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblValue.AutoSize = CType(resources.GetObject("lblValue.AutoSize"), Boolean)
        Me.lblValue.Dock = CType(resources.GetObject("lblValue.Dock"), System.Windows.Forms.DockStyle)
        Me.lblValue.Enabled = CType(resources.GetObject("lblValue.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblValue, resources.GetString("lblValue.Error"))
        Me.lblValue.Font = CType(resources.GetObject("lblValue.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblValue, CType(resources.GetObject("lblValue.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblValue, CType(resources.GetObject("lblValue.IconPadding"), Integer))
        Me.lblValue.Image = CType(resources.GetObject("lblValue.Image"), System.Drawing.Image)
        Me.lblValue.ImageAlign = CType(resources.GetObject("lblValue.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblValue.ImageIndex = CType(resources.GetObject("lblValue.ImageIndex"), Integer)
        Me.lblValue.ImeMode = CType(resources.GetObject("lblValue.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblValue.Location = CType(resources.GetObject("lblValue.Location"), System.Drawing.Point)
        Me.lblValue.Name = "lblValue"
        Me.lblValue.RightToLeft = CType(resources.GetObject("lblValue.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblValue.Size = CType(resources.GetObject("lblValue.Size"), System.Drawing.Size)
        Me.lblValue.TabIndex = CType(resources.GetObject("lblValue.TabIndex"), Integer)
        Me.lblValue.Text = resources.GetString("lblValue.Text")
        Me.lblValue.TextAlign = CType(resources.GetObject("lblValue.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblValue.Visible = CType(resources.GetObject("lblValue.Visible"), Boolean)
        '
        'lblSourceVersion
        '
        Me.lblSourceVersion.AccessibleDescription = resources.GetString("lblSourceVersion.AccessibleDescription")
        Me.lblSourceVersion.AccessibleName = resources.GetString("lblSourceVersion.AccessibleName")
        Me.lblSourceVersion.Anchor = CType(resources.GetObject("lblSourceVersion.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblSourceVersion.AutoSize = CType(resources.GetObject("lblSourceVersion.AutoSize"), Boolean)
        Me.lblSourceVersion.Dock = CType(resources.GetObject("lblSourceVersion.Dock"), System.Windows.Forms.DockStyle)
        Me.lblSourceVersion.Enabled = CType(resources.GetObject("lblSourceVersion.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblSourceVersion, resources.GetString("lblSourceVersion.Error"))
        Me.lblSourceVersion.Font = CType(resources.GetObject("lblSourceVersion.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblSourceVersion, CType(resources.GetObject("lblSourceVersion.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblSourceVersion, CType(resources.GetObject("lblSourceVersion.IconPadding"), Integer))
        Me.lblSourceVersion.Image = CType(resources.GetObject("lblSourceVersion.Image"), System.Drawing.Image)
        Me.lblSourceVersion.ImageAlign = CType(resources.GetObject("lblSourceVersion.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblSourceVersion.ImageIndex = CType(resources.GetObject("lblSourceVersion.ImageIndex"), Integer)
        Me.lblSourceVersion.ImeMode = CType(resources.GetObject("lblSourceVersion.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblSourceVersion.Location = CType(resources.GetObject("lblSourceVersion.Location"), System.Drawing.Point)
        Me.lblSourceVersion.Name = "lblSourceVersion"
        Me.lblSourceVersion.RightToLeft = CType(resources.GetObject("lblSourceVersion.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblSourceVersion.Size = CType(resources.GetObject("lblSourceVersion.Size"), System.Drawing.Size)
        Me.lblSourceVersion.TabIndex = CType(resources.GetObject("lblSourceVersion.TabIndex"), Integer)
        Me.lblSourceVersion.Text = resources.GetString("lblSourceVersion.Text")
        Me.lblSourceVersion.TextAlign = CType(resources.GetObject("lblSourceVersion.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblSourceVersion.Visible = CType(resources.GetObject("lblSourceVersion.Visible"), Boolean)
        '
        'cboDbType
        '
        Me.cboDbType.AccessibleDescription = resources.GetString("cboDbType.AccessibleDescription")
        Me.cboDbType.AccessibleName = resources.GetString("cboDbType.AccessibleName")
        Me.cboDbType.Anchor = CType(resources.GetObject("cboDbType.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboDbType.BackgroundImage = CType(resources.GetObject("cboDbType.BackgroundImage"), System.Drawing.Image)
        Me.cboDbType.Dock = CType(resources.GetObject("cboDbType.Dock"), System.Windows.Forms.DockStyle)
        Me.cboDbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboDbType.Enabled = CType(resources.GetObject("cboDbType.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.cboDbType, resources.GetString("cboDbType.Error"))
        Me.cboDbType.Font = CType(resources.GetObject("cboDbType.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.cboDbType, CType(resources.GetObject("cboDbType.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.cboDbType, CType(resources.GetObject("cboDbType.IconPadding"), Integer))
        Me.cboDbType.ImeMode = CType(resources.GetObject("cboDbType.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboDbType.IntegralHeight = CType(resources.GetObject("cboDbType.IntegralHeight"), Boolean)
        Me.cboDbType.ItemHeight = CType(resources.GetObject("cboDbType.ItemHeight"), Integer)
        Me.cboDbType.Location = CType(resources.GetObject("cboDbType.Location"), System.Drawing.Point)
        Me.cboDbType.MaxDropDownItems = CType(resources.GetObject("cboDbType.MaxDropDownItems"), Integer)
        Me.cboDbType.MaxLength = CType(resources.GetObject("cboDbType.MaxLength"), Integer)
        Me.cboDbType.Name = "cboDbType"
        Me.cboDbType.RightToLeft = CType(resources.GetObject("cboDbType.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboDbType.Size = CType(resources.GetObject("cboDbType.Size"), System.Drawing.Size)
        Me.cboDbType.TabIndex = CType(resources.GetObject("cboDbType.TabIndex"), Integer)
        Me.cboDbType.Text = resources.GetString("cboDbType.Text")
        Me.cboDbType.Visible = CType(resources.GetObject("cboDbType.Visible"), Boolean)
        '
        'nudPrecision
        '
        Me.nudPrecision.AccessibleDescription = resources.GetString("nudPrecision.AccessibleDescription")
        Me.nudPrecision.AccessibleName = resources.GetString("nudPrecision.AccessibleName")
        Me.nudPrecision.Anchor = CType(resources.GetObject("nudPrecision.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudPrecision.Dock = CType(resources.GetObject("nudPrecision.Dock"), System.Windows.Forms.DockStyle)
        Me.nudPrecision.Enabled = CType(resources.GetObject("nudPrecision.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.nudPrecision, resources.GetString("nudPrecision.Error"))
        Me.nudPrecision.Font = CType(resources.GetObject("nudPrecision.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.nudPrecision, CType(resources.GetObject("nudPrecision.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.nudPrecision, CType(resources.GetObject("nudPrecision.IconPadding"), Integer))
        Me.nudPrecision.ImeMode = CType(resources.GetObject("nudPrecision.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudPrecision.Location = CType(resources.GetObject("nudPrecision.Location"), System.Drawing.Point)
        Me.nudPrecision.Maximum = New Decimal(New Integer() {255, 0, 0, 0})
        Me.nudPrecision.Name = "nudPrecision"
        Me.nudPrecision.RightToLeft = CType(resources.GetObject("nudPrecision.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudPrecision.Size = CType(resources.GetObject("nudPrecision.Size"), System.Drawing.Size)
        Me.nudPrecision.TabIndex = CType(resources.GetObject("nudPrecision.TabIndex"), Integer)
        Me.nudPrecision.TextAlign = CType(resources.GetObject("nudPrecision.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudPrecision.ThousandsSeparator = CType(resources.GetObject("nudPrecision.ThousandsSeparator"), Boolean)
        Me.nudPrecision.UpDownAlign = CType(resources.GetObject("nudPrecision.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudPrecision.Visible = CType(resources.GetObject("nudPrecision.Visible"), Boolean)
        '
        'lblDbType
        '
        Me.lblDbType.AccessibleDescription = resources.GetString("lblDbType.AccessibleDescription")
        Me.lblDbType.AccessibleName = resources.GetString("lblDbType.AccessibleName")
        Me.lblDbType.Anchor = CType(resources.GetObject("lblDbType.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblDbType.AutoSize = CType(resources.GetObject("lblDbType.AutoSize"), Boolean)
        Me.lblDbType.Dock = CType(resources.GetObject("lblDbType.Dock"), System.Windows.Forms.DockStyle)
        Me.lblDbType.Enabled = CType(resources.GetObject("lblDbType.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblDbType, resources.GetString("lblDbType.Error"))
        Me.lblDbType.Font = CType(resources.GetObject("lblDbType.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblDbType, CType(resources.GetObject("lblDbType.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblDbType, CType(resources.GetObject("lblDbType.IconPadding"), Integer))
        Me.lblDbType.Image = CType(resources.GetObject("lblDbType.Image"), System.Drawing.Image)
        Me.lblDbType.ImageAlign = CType(resources.GetObject("lblDbType.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblDbType.ImageIndex = CType(resources.GetObject("lblDbType.ImageIndex"), Integer)
        Me.lblDbType.ImeMode = CType(resources.GetObject("lblDbType.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblDbType.Location = CType(resources.GetObject("lblDbType.Location"), System.Drawing.Point)
        Me.lblDbType.Name = "lblDbType"
        Me.lblDbType.RightToLeft = CType(resources.GetObject("lblDbType.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblDbType.Size = CType(resources.GetObject("lblDbType.Size"), System.Drawing.Size)
        Me.lblDbType.TabIndex = CType(resources.GetObject("lblDbType.TabIndex"), Integer)
        Me.lblDbType.Text = resources.GetString("lblDbType.Text")
        Me.lblDbType.TextAlign = CType(resources.GetObject("lblDbType.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblDbType.Visible = CType(resources.GetObject("lblDbType.Visible"), Boolean)
        '
        'lblPrecision
        '
        Me.lblPrecision.AccessibleDescription = resources.GetString("lblPrecision.AccessibleDescription")
        Me.lblPrecision.AccessibleName = resources.GetString("lblPrecision.AccessibleName")
        Me.lblPrecision.Anchor = CType(resources.GetObject("lblPrecision.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblPrecision.AutoSize = CType(resources.GetObject("lblPrecision.AutoSize"), Boolean)
        Me.lblPrecision.Dock = CType(resources.GetObject("lblPrecision.Dock"), System.Windows.Forms.DockStyle)
        Me.lblPrecision.Enabled = CType(resources.GetObject("lblPrecision.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblPrecision, resources.GetString("lblPrecision.Error"))
        Me.lblPrecision.Font = CType(resources.GetObject("lblPrecision.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblPrecision, CType(resources.GetObject("lblPrecision.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblPrecision, CType(resources.GetObject("lblPrecision.IconPadding"), Integer))
        Me.lblPrecision.Image = CType(resources.GetObject("lblPrecision.Image"), System.Drawing.Image)
        Me.lblPrecision.ImageAlign = CType(resources.GetObject("lblPrecision.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblPrecision.ImageIndex = CType(resources.GetObject("lblPrecision.ImageIndex"), Integer)
        Me.lblPrecision.ImeMode = CType(resources.GetObject("lblPrecision.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblPrecision.Location = CType(resources.GetObject("lblPrecision.Location"), System.Drawing.Point)
        Me.lblPrecision.Name = "lblPrecision"
        Me.lblPrecision.RightToLeft = CType(resources.GetObject("lblPrecision.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblPrecision.Size = CType(resources.GetObject("lblPrecision.Size"), System.Drawing.Size)
        Me.lblPrecision.TabIndex = CType(resources.GetObject("lblPrecision.TabIndex"), Integer)
        Me.lblPrecision.Text = resources.GetString("lblPrecision.Text")
        Me.lblPrecision.TextAlign = CType(resources.GetObject("lblPrecision.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblPrecision.Visible = CType(resources.GetObject("lblPrecision.Visible"), Boolean)
        '
        'txtName
        '
        Me.txtName.AccessibleDescription = resources.GetString("txtName.AccessibleDescription")
        Me.txtName.AccessibleName = resources.GetString("txtName.AccessibleName")
        Me.txtName.Anchor = CType(resources.GetObject("txtName.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtName.AutoSize = CType(resources.GetObject("txtName.AutoSize"), Boolean)
        Me.txtName.BackgroundImage = CType(resources.GetObject("txtName.BackgroundImage"), System.Drawing.Image)
        Me.txtName.Dock = CType(resources.GetObject("txtName.Dock"), System.Windows.Forms.DockStyle)
        Me.txtName.Enabled = CType(resources.GetObject("txtName.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.txtName, resources.GetString("txtName.Error"))
        Me.txtName.Font = CType(resources.GetObject("txtName.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.txtName, CType(resources.GetObject("txtName.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.txtName, CType(resources.GetObject("txtName.IconPadding"), Integer))
        Me.txtName.ImeMode = CType(resources.GetObject("txtName.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtName.Location = CType(resources.GetObject("txtName.Location"), System.Drawing.Point)
        Me.txtName.MaxLength = CType(resources.GetObject("txtName.MaxLength"), Integer)
        Me.txtName.Multiline = CType(resources.GetObject("txtName.Multiline"), Boolean)
        Me.txtName.Name = "txtName"
        Me.txtName.PasswordChar = CType(resources.GetObject("txtName.PasswordChar"), Char)
        Me.txtName.RightToLeft = CType(resources.GetObject("txtName.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtName.ScrollBars = CType(resources.GetObject("txtName.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtName.Size = CType(resources.GetObject("txtName.Size"), System.Drawing.Size)
        Me.txtName.TabIndex = CType(resources.GetObject("txtName.TabIndex"), Integer)
        Me.txtName.Text = resources.GetString("txtName.Text")
        Me.txtName.TextAlign = CType(resources.GetObject("txtName.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtName.Visible = CType(resources.GetObject("txtName.Visible"), Boolean)
        Me.txtName.WordWrap = CType(resources.GetObject("txtName.WordWrap"), Boolean)
        '
        'lblName
        '
        Me.lblName.AccessibleDescription = resources.GetString("lblName.AccessibleDescription")
        Me.lblName.AccessibleName = resources.GetString("lblName.AccessibleName")
        Me.lblName.Anchor = CType(resources.GetObject("lblName.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblName.AutoSize = CType(resources.GetObject("lblName.AutoSize"), Boolean)
        Me.lblName.Dock = CType(resources.GetObject("lblName.Dock"), System.Windows.Forms.DockStyle)
        Me.lblName.Enabled = CType(resources.GetObject("lblName.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblName, resources.GetString("lblName.Error"))
        Me.lblName.Font = CType(resources.GetObject("lblName.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblName, CType(resources.GetObject("lblName.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblName, CType(resources.GetObject("lblName.IconPadding"), Integer))
        Me.lblName.Image = CType(resources.GetObject("lblName.Image"), System.Drawing.Image)
        Me.lblName.ImageAlign = CType(resources.GetObject("lblName.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblName.ImageIndex = CType(resources.GetObject("lblName.ImageIndex"), Integer)
        Me.lblName.ImeMode = CType(resources.GetObject("lblName.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblName.Location = CType(resources.GetObject("lblName.Location"), System.Drawing.Point)
        Me.lblName.Name = "lblName"
        Me.lblName.RightToLeft = CType(resources.GetObject("lblName.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblName.Size = CType(resources.GetObject("lblName.Size"), System.Drawing.Size)
        Me.lblName.TabIndex = CType(resources.GetObject("lblName.TabIndex"), Integer)
        Me.lblName.Text = resources.GetString("lblName.Text")
        Me.lblName.TextAlign = CType(resources.GetObject("lblName.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblName.Visible = CType(resources.GetObject("lblName.Visible"), Boolean)
        '
        'cboDirection
        '
        Me.cboDirection.AccessibleDescription = resources.GetString("cboDirection.AccessibleDescription")
        Me.cboDirection.AccessibleName = resources.GetString("cboDirection.AccessibleName")
        Me.cboDirection.Anchor = CType(resources.GetObject("cboDirection.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboDirection.BackgroundImage = CType(resources.GetObject("cboDirection.BackgroundImage"), System.Drawing.Image)
        Me.cboDirection.Dock = CType(resources.GetObject("cboDirection.Dock"), System.Windows.Forms.DockStyle)
        Me.cboDirection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboDirection.Enabled = CType(resources.GetObject("cboDirection.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.cboDirection, resources.GetString("cboDirection.Error"))
        Me.cboDirection.Font = CType(resources.GetObject("cboDirection.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.cboDirection, CType(resources.GetObject("cboDirection.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.cboDirection, CType(resources.GetObject("cboDirection.IconPadding"), Integer))
        Me.cboDirection.ImeMode = CType(resources.GetObject("cboDirection.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboDirection.IntegralHeight = CType(resources.GetObject("cboDirection.IntegralHeight"), Boolean)
        Me.cboDirection.ItemHeight = CType(resources.GetObject("cboDirection.ItemHeight"), Integer)
        Me.cboDirection.Location = CType(resources.GetObject("cboDirection.Location"), System.Drawing.Point)
        Me.cboDirection.MaxDropDownItems = CType(resources.GetObject("cboDirection.MaxDropDownItems"), Integer)
        Me.cboDirection.MaxLength = CType(resources.GetObject("cboDirection.MaxLength"), Integer)
        Me.cboDirection.Name = "cboDirection"
        Me.cboDirection.RightToLeft = CType(resources.GetObject("cboDirection.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboDirection.Size = CType(resources.GetObject("cboDirection.Size"), System.Drawing.Size)
        Me.cboDirection.TabIndex = CType(resources.GetObject("cboDirection.TabIndex"), Integer)
        Me.cboDirection.Text = resources.GetString("cboDirection.Text")
        Me.cboDirection.Visible = CType(resources.GetObject("cboDirection.Visible"), Boolean)
        '
        'lblDirection
        '
        Me.lblDirection.AccessibleDescription = resources.GetString("lblDirection.AccessibleDescription")
        Me.lblDirection.AccessibleName = resources.GetString("lblDirection.AccessibleName")
        Me.lblDirection.Anchor = CType(resources.GetObject("lblDirection.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblDirection.AutoSize = CType(resources.GetObject("lblDirection.AutoSize"), Boolean)
        Me.lblDirection.Dock = CType(resources.GetObject("lblDirection.Dock"), System.Windows.Forms.DockStyle)
        Me.lblDirection.Enabled = CType(resources.GetObject("lblDirection.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblDirection, resources.GetString("lblDirection.Error"))
        Me.lblDirection.Font = CType(resources.GetObject("lblDirection.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblDirection, CType(resources.GetObject("lblDirection.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblDirection, CType(resources.GetObject("lblDirection.IconPadding"), Integer))
        Me.lblDirection.Image = CType(resources.GetObject("lblDirection.Image"), System.Drawing.Image)
        Me.lblDirection.ImageAlign = CType(resources.GetObject("lblDirection.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblDirection.ImageIndex = CType(resources.GetObject("lblDirection.ImageIndex"), Integer)
        Me.lblDirection.ImeMode = CType(resources.GetObject("lblDirection.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblDirection.Location = CType(resources.GetObject("lblDirection.Location"), System.Drawing.Point)
        Me.lblDirection.Name = "lblDirection"
        Me.lblDirection.RightToLeft = CType(resources.GetObject("lblDirection.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblDirection.Size = CType(resources.GetObject("lblDirection.Size"), System.Drawing.Size)
        Me.lblDirection.TabIndex = CType(resources.GetObject("lblDirection.TabIndex"), Integer)
        Me.lblDirection.Text = resources.GetString("lblDirection.Text")
        Me.lblDirection.TextAlign = CType(resources.GetObject("lblDirection.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblDirection.Visible = CType(resources.GetObject("lblDirection.Visible"), Boolean)
        '
        'nudScale
        '
        Me.nudScale.AccessibleDescription = resources.GetString("nudScale.AccessibleDescription")
        Me.nudScale.AccessibleName = resources.GetString("nudScale.AccessibleName")
        Me.nudScale.Anchor = CType(resources.GetObject("nudScale.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudScale.Dock = CType(resources.GetObject("nudScale.Dock"), System.Windows.Forms.DockStyle)
        Me.nudScale.Enabled = CType(resources.GetObject("nudScale.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.nudScale, resources.GetString("nudScale.Error"))
        Me.nudScale.Font = CType(resources.GetObject("nudScale.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.nudScale, CType(resources.GetObject("nudScale.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.nudScale, CType(resources.GetObject("nudScale.IconPadding"), Integer))
        Me.nudScale.ImeMode = CType(resources.GetObject("nudScale.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudScale.Location = CType(resources.GetObject("nudScale.Location"), System.Drawing.Point)
        Me.nudScale.Maximum = New Decimal(New Integer() {255, 0, 0, 0})
        Me.nudScale.Name = "nudScale"
        Me.nudScale.RightToLeft = CType(resources.GetObject("nudScale.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudScale.Size = CType(resources.GetObject("nudScale.Size"), System.Drawing.Size)
        Me.nudScale.TabIndex = CType(resources.GetObject("nudScale.TabIndex"), Integer)
        Me.nudScale.TextAlign = CType(resources.GetObject("nudScale.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudScale.ThousandsSeparator = CType(resources.GetObject("nudScale.ThousandsSeparator"), Boolean)
        Me.nudScale.UpDownAlign = CType(resources.GetObject("nudScale.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudScale.Visible = CType(resources.GetObject("nudScale.Visible"), Boolean)
        '
        'lblScale
        '
        Me.lblScale.AccessibleDescription = resources.GetString("lblScale.AccessibleDescription")
        Me.lblScale.AccessibleName = resources.GetString("lblScale.AccessibleName")
        Me.lblScale.Anchor = CType(resources.GetObject("lblScale.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblScale.AutoSize = CType(resources.GetObject("lblScale.AutoSize"), Boolean)
        Me.lblScale.Dock = CType(resources.GetObject("lblScale.Dock"), System.Windows.Forms.DockStyle)
        Me.lblScale.Enabled = CType(resources.GetObject("lblScale.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblScale, resources.GetString("lblScale.Error"))
        Me.lblScale.Font = CType(resources.GetObject("lblScale.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblScale, CType(resources.GetObject("lblScale.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblScale, CType(resources.GetObject("lblScale.IconPadding"), Integer))
        Me.lblScale.Image = CType(resources.GetObject("lblScale.Image"), System.Drawing.Image)
        Me.lblScale.ImageAlign = CType(resources.GetObject("lblScale.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblScale.ImageIndex = CType(resources.GetObject("lblScale.ImageIndex"), Integer)
        Me.lblScale.ImeMode = CType(resources.GetObject("lblScale.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblScale.Location = CType(resources.GetObject("lblScale.Location"), System.Drawing.Point)
        Me.lblScale.Name = "lblScale"
        Me.lblScale.RightToLeft = CType(resources.GetObject("lblScale.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblScale.Size = CType(resources.GetObject("lblScale.Size"), System.Drawing.Size)
        Me.lblScale.TabIndex = CType(resources.GetObject("lblScale.TabIndex"), Integer)
        Me.lblScale.Text = resources.GetString("lblScale.Text")
        Me.lblScale.TextAlign = CType(resources.GetObject("lblScale.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblScale.Visible = CType(resources.GetObject("lblScale.Visible"), Boolean)
        '
        'nudSize
        '
        Me.nudSize.AccessibleDescription = resources.GetString("nudSize.AccessibleDescription")
        Me.nudSize.AccessibleName = resources.GetString("nudSize.AccessibleName")
        Me.nudSize.Anchor = CType(resources.GetObject("nudSize.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudSize.Dock = CType(resources.GetObject("nudSize.Dock"), System.Windows.Forms.DockStyle)
        Me.nudSize.Enabled = CType(resources.GetObject("nudSize.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.nudSize, resources.GetString("nudSize.Error"))
        Me.nudSize.Font = CType(resources.GetObject("nudSize.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.nudSize, CType(resources.GetObject("nudSize.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.nudSize, CType(resources.GetObject("nudSize.IconPadding"), Integer))
        Me.nudSize.ImeMode = CType(resources.GetObject("nudSize.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudSize.Location = CType(resources.GetObject("nudSize.Location"), System.Drawing.Point)
        Me.nudSize.Maximum = New Decimal(New Integer() {8000, 0, 0, 0})
        Me.nudSize.Name = "nudSize"
        Me.nudSize.RightToLeft = CType(resources.GetObject("nudSize.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudSize.Size = CType(resources.GetObject("nudSize.Size"), System.Drawing.Size)
        Me.nudSize.TabIndex = CType(resources.GetObject("nudSize.TabIndex"), Integer)
        Me.nudSize.TextAlign = CType(resources.GetObject("nudSize.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudSize.ThousandsSeparator = CType(resources.GetObject("nudSize.ThousandsSeparator"), Boolean)
        Me.nudSize.UpDownAlign = CType(resources.GetObject("nudSize.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudSize.Visible = CType(resources.GetObject("nudSize.Visible"), Boolean)
        '
        'lblSize
        '
        Me.lblSize.AccessibleDescription = resources.GetString("lblSize.AccessibleDescription")
        Me.lblSize.AccessibleName = resources.GetString("lblSize.AccessibleName")
        Me.lblSize.Anchor = CType(resources.GetObject("lblSize.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblSize.AutoSize = CType(resources.GetObject("lblSize.AutoSize"), Boolean)
        Me.lblSize.Dock = CType(resources.GetObject("lblSize.Dock"), System.Windows.Forms.DockStyle)
        Me.lblSize.Enabled = CType(resources.GetObject("lblSize.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblSize, resources.GetString("lblSize.Error"))
        Me.lblSize.Font = CType(resources.GetObject("lblSize.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblSize, CType(resources.GetObject("lblSize.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblSize, CType(resources.GetObject("lblSize.IconPadding"), Integer))
        Me.lblSize.Image = CType(resources.GetObject("lblSize.Image"), System.Drawing.Image)
        Me.lblSize.ImageAlign = CType(resources.GetObject("lblSize.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblSize.ImageIndex = CType(resources.GetObject("lblSize.ImageIndex"), Integer)
        Me.lblSize.ImeMode = CType(resources.GetObject("lblSize.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblSize.Location = CType(resources.GetObject("lblSize.Location"), System.Drawing.Point)
        Me.lblSize.Name = "lblSize"
        Me.lblSize.RightToLeft = CType(resources.GetObject("lblSize.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblSize.Size = CType(resources.GetObject("lblSize.Size"), System.Drawing.Size)
        Me.lblSize.TabIndex = CType(resources.GetObject("lblSize.TabIndex"), Integer)
        Me.lblSize.Text = resources.GetString("lblSize.Text")
        Me.lblSize.TextAlign = CType(resources.GetObject("lblSize.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblSize.Visible = CType(resources.GetObject("lblSize.Visible"), Boolean)
        '
        'lblSourceColumn
        '
        Me.lblSourceColumn.AccessibleDescription = resources.GetString("lblSourceColumn.AccessibleDescription")
        Me.lblSourceColumn.AccessibleName = resources.GetString("lblSourceColumn.AccessibleName")
        Me.lblSourceColumn.Anchor = CType(resources.GetObject("lblSourceColumn.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblSourceColumn.AutoSize = CType(resources.GetObject("lblSourceColumn.AutoSize"), Boolean)
        Me.lblSourceColumn.Dock = CType(resources.GetObject("lblSourceColumn.Dock"), System.Windows.Forms.DockStyle)
        Me.lblSourceColumn.Enabled = CType(resources.GetObject("lblSourceColumn.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblSourceColumn, resources.GetString("lblSourceColumn.Error"))
        Me.lblSourceColumn.Font = CType(resources.GetObject("lblSourceColumn.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblSourceColumn, CType(resources.GetObject("lblSourceColumn.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblSourceColumn, CType(resources.GetObject("lblSourceColumn.IconPadding"), Integer))
        Me.lblSourceColumn.Image = CType(resources.GetObject("lblSourceColumn.Image"), System.Drawing.Image)
        Me.lblSourceColumn.ImageAlign = CType(resources.GetObject("lblSourceColumn.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblSourceColumn.ImageIndex = CType(resources.GetObject("lblSourceColumn.ImageIndex"), Integer)
        Me.lblSourceColumn.ImeMode = CType(resources.GetObject("lblSourceColumn.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblSourceColumn.Location = CType(resources.GetObject("lblSourceColumn.Location"), System.Drawing.Point)
        Me.lblSourceColumn.Name = "lblSourceColumn"
        Me.lblSourceColumn.RightToLeft = CType(resources.GetObject("lblSourceColumn.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblSourceColumn.Size = CType(resources.GetObject("lblSourceColumn.Size"), System.Drawing.Size)
        Me.lblSourceColumn.TabIndex = CType(resources.GetObject("lblSourceColumn.TabIndex"), Integer)
        Me.lblSourceColumn.Text = resources.GetString("lblSourceColumn.Text")
        Me.lblSourceColumn.TextAlign = CType(resources.GetObject("lblSourceColumn.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblSourceColumn.Visible = CType(resources.GetObject("lblSourceColumn.Visible"), Boolean)
        '
        'cboSourceColumn
        '
        Me.cboSourceColumn.AccessibleDescription = resources.GetString("cboSourceColumn.AccessibleDescription")
        Me.cboSourceColumn.AccessibleName = resources.GetString("cboSourceColumn.AccessibleName")
        Me.cboSourceColumn.Anchor = CType(resources.GetObject("cboSourceColumn.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboSourceColumn.BackgroundImage = CType(resources.GetObject("cboSourceColumn.BackgroundImage"), System.Drawing.Image)
        Me.cboSourceColumn.Dock = CType(resources.GetObject("cboSourceColumn.Dock"), System.Windows.Forms.DockStyle)
        Me.cboSourceColumn.Enabled = CType(resources.GetObject("cboSourceColumn.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.cboSourceColumn, resources.GetString("cboSourceColumn.Error"))
        Me.cboSourceColumn.Font = CType(resources.GetObject("cboSourceColumn.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.cboSourceColumn, CType(resources.GetObject("cboSourceColumn.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.cboSourceColumn, CType(resources.GetObject("cboSourceColumn.IconPadding"), Integer))
        Me.cboSourceColumn.ImeMode = CType(resources.GetObject("cboSourceColumn.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboSourceColumn.IntegralHeight = CType(resources.GetObject("cboSourceColumn.IntegralHeight"), Boolean)
        Me.cboSourceColumn.ItemHeight = CType(resources.GetObject("cboSourceColumn.ItemHeight"), Integer)
        Me.cboSourceColumn.Location = CType(resources.GetObject("cboSourceColumn.Location"), System.Drawing.Point)
        Me.cboSourceColumn.MaxDropDownItems = CType(resources.GetObject("cboSourceColumn.MaxDropDownItems"), Integer)
        Me.cboSourceColumn.MaxLength = CType(resources.GetObject("cboSourceColumn.MaxLength"), Integer)
        Me.cboSourceColumn.Name = "cboSourceColumn"
        Me.cboSourceColumn.RightToLeft = CType(resources.GetObject("cboSourceColumn.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboSourceColumn.Size = CType(resources.GetObject("cboSourceColumn.Size"), System.Drawing.Size)
        Me.cboSourceColumn.TabIndex = CType(resources.GetObject("cboSourceColumn.TabIndex"), Integer)
        Me.cboSourceColumn.Text = resources.GetString("cboSourceColumn.Text")
        Me.cboSourceColumn.Visible = CType(resources.GetObject("cboSourceColumn.Visible"), Boolean)
        '
        'chkIsNullable
        '
        Me.chkIsNullable.AccessibleDescription = resources.GetString("chkIsNullable.AccessibleDescription")
        Me.chkIsNullable.AccessibleName = resources.GetString("chkIsNullable.AccessibleName")
        Me.chkIsNullable.Anchor = CType(resources.GetObject("chkIsNullable.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkIsNullable.Appearance = CType(resources.GetObject("chkIsNullable.Appearance"), System.Windows.Forms.Appearance)
        Me.chkIsNullable.BackgroundImage = CType(resources.GetObject("chkIsNullable.BackgroundImage"), System.Drawing.Image)
        Me.chkIsNullable.CheckAlign = CType(resources.GetObject("chkIsNullable.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkIsNullable.Dock = CType(resources.GetObject("chkIsNullable.Dock"), System.Windows.Forms.DockStyle)
        Me.chkIsNullable.Enabled = CType(resources.GetObject("chkIsNullable.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.chkIsNullable, resources.GetString("chkIsNullable.Error"))
        Me.chkIsNullable.FlatStyle = CType(resources.GetObject("chkIsNullable.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkIsNullable.Font = CType(resources.GetObject("chkIsNullable.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.chkIsNullable, CType(resources.GetObject("chkIsNullable.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.chkIsNullable, CType(resources.GetObject("chkIsNullable.IconPadding"), Integer))
        Me.chkIsNullable.Image = CType(resources.GetObject("chkIsNullable.Image"), System.Drawing.Image)
        Me.chkIsNullable.ImageAlign = CType(resources.GetObject("chkIsNullable.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkIsNullable.ImageIndex = CType(resources.GetObject("chkIsNullable.ImageIndex"), Integer)
        Me.chkIsNullable.ImeMode = CType(resources.GetObject("chkIsNullable.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkIsNullable.Location = CType(resources.GetObject("chkIsNullable.Location"), System.Drawing.Point)
        Me.chkIsNullable.Name = "chkIsNullable"
        Me.chkIsNullable.RightToLeft = CType(resources.GetObject("chkIsNullable.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkIsNullable.Size = CType(resources.GetObject("chkIsNullable.Size"), System.Drawing.Size)
        Me.chkIsNullable.TabIndex = CType(resources.GetObject("chkIsNullable.TabIndex"), Integer)
        Me.chkIsNullable.Text = resources.GetString("chkIsNullable.Text")
        Me.chkIsNullable.TextAlign = CType(resources.GetObject("chkIsNullable.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkIsNullable.Visible = CType(resources.GetObject("chkIsNullable.Visible"), Boolean)
        '
        'ErrorProvider1
        '
        Me.ErrorProvider1.ContainerControl = Me
        Me.ErrorProvider1.Icon = CType(resources.GetObject("ErrorProvider1.Icon"), System.Drawing.Icon)
        '
        'chkNothing
        '
        Me.chkNothing.AccessibleDescription = resources.GetString("chkNothing.AccessibleDescription")
        Me.chkNothing.AccessibleName = resources.GetString("chkNothing.AccessibleName")
        Me.chkNothing.Anchor = CType(resources.GetObject("chkNothing.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkNothing.Appearance = CType(resources.GetObject("chkNothing.Appearance"), System.Windows.Forms.Appearance)
        Me.chkNothing.BackgroundImage = CType(resources.GetObject("chkNothing.BackgroundImage"), System.Drawing.Image)
        Me.chkNothing.CheckAlign = CType(resources.GetObject("chkNothing.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkNothing.Dock = CType(resources.GetObject("chkNothing.Dock"), System.Windows.Forms.DockStyle)
        Me.chkNothing.Enabled = CType(resources.GetObject("chkNothing.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.chkNothing, resources.GetString("chkNothing.Error"))
        Me.chkNothing.FlatStyle = CType(resources.GetObject("chkNothing.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkNothing.Font = CType(resources.GetObject("chkNothing.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.chkNothing, CType(resources.GetObject("chkNothing.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.chkNothing, CType(resources.GetObject("chkNothing.IconPadding"), Integer))
        Me.chkNothing.Image = CType(resources.GetObject("chkNothing.Image"), System.Drawing.Image)
        Me.chkNothing.ImageAlign = CType(resources.GetObject("chkNothing.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkNothing.ImageIndex = CType(resources.GetObject("chkNothing.ImageIndex"), Integer)
        Me.chkNothing.ImeMode = CType(resources.GetObject("chkNothing.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkNothing.Location = CType(resources.GetObject("chkNothing.Location"), System.Drawing.Point)
        Me.chkNothing.Name = "chkNothing"
        Me.chkNothing.RightToLeft = CType(resources.GetObject("chkNothing.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkNothing.Size = CType(resources.GetObject("chkNothing.Size"), System.Drawing.Size)
        Me.chkNothing.TabIndex = CType(resources.GetObject("chkNothing.TabIndex"), Integer)
        Me.chkNothing.Text = resources.GetString("chkNothing.Text")
        Me.chkNothing.TextAlign = CType(resources.GetObject("chkNothing.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkNothing.Visible = CType(resources.GetObject("chkNothing.Visible"), Boolean)
        '
        'txtValue
        '
        Me.txtValue.AccessibleDescription = resources.GetString("txtValue.AccessibleDescription")
        Me.txtValue.AccessibleName = resources.GetString("txtValue.AccessibleName")
        Me.txtValue.Anchor = CType(resources.GetObject("txtValue.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtValue.AutoSize = CType(resources.GetObject("txtValue.AutoSize"), Boolean)
        Me.txtValue.BackgroundImage = CType(resources.GetObject("txtValue.BackgroundImage"), System.Drawing.Image)
        Me.txtValue.Dock = CType(resources.GetObject("txtValue.Dock"), System.Windows.Forms.DockStyle)
        Me.txtValue.Enabled = CType(resources.GetObject("txtValue.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.txtValue, resources.GetString("txtValue.Error"))
        Me.txtValue.Font = CType(resources.GetObject("txtValue.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.txtValue, CType(resources.GetObject("txtValue.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.txtValue, CType(resources.GetObject("txtValue.IconPadding"), Integer))
        Me.txtValue.ImeMode = CType(resources.GetObject("txtValue.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtValue.Location = CType(resources.GetObject("txtValue.Location"), System.Drawing.Point)
        Me.txtValue.MaxLength = CType(resources.GetObject("txtValue.MaxLength"), Integer)
        Me.txtValue.Multiline = CType(resources.GetObject("txtValue.Multiline"), Boolean)
        Me.txtValue.Name = "txtValue"
        Me.txtValue.PasswordChar = CType(resources.GetObject("txtValue.PasswordChar"), Char)
        Me.txtValue.RightToLeft = CType(resources.GetObject("txtValue.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtValue.ScrollBars = CType(resources.GetObject("txtValue.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtValue.Size = CType(resources.GetObject("txtValue.Size"), System.Drawing.Size)
        Me.txtValue.TabIndex = CType(resources.GetObject("txtValue.TabIndex"), Integer)
        Me.txtValue.Text = resources.GetString("txtValue.Text")
        Me.txtValue.TextAlign = CType(resources.GetObject("txtValue.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtValue.Visible = CType(resources.GetObject("txtValue.Visible"), Boolean)
        Me.txtValue.WordWrap = CType(resources.GetObject("txtValue.WordWrap"), Boolean)
        '
        'UParameter
        '
        Me.AccessibleDescription = resources.GetString("$this.AccessibleDescription")
        Me.AccessibleName = resources.GetString("$this.AccessibleName")
        Me.AutoScroll = CType(resources.GetObject("$this.AutoScroll"), Boolean)
        Me.AutoScrollMargin = CType(resources.GetObject("$this.AutoScrollMargin"), System.Drawing.Size)
        Me.AutoScrollMinSize = CType(resources.GetObject("$this.AutoScrollMinSize"), System.Drawing.Size)
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.Controls.Add(Me.chkNothing)
        Me.Controls.Add(Me.txtValue)
        Me.Controls.Add(Me.cboSourceColumn)
        Me.Controls.Add(Me.chkIsNullable)
        Me.Controls.Add(Me.lblDirection)
        Me.Controls.Add(Me.cboDirection)
        Me.Controls.Add(Me.lblName)
        Me.Controls.Add(Me.txtName)
        Me.Controls.Add(Me.lblPrecision)
        Me.Controls.Add(Me.lblDbType)
        Me.Controls.Add(Me.nudPrecision)
        Me.Controls.Add(Me.cboDbType)
        Me.Controls.Add(Me.lblSourceVersion)
        Me.Controls.Add(Me.lblValue)
        Me.Controls.Add(Me.cboSourceVersion)
        Me.Controls.Add(Me.nudScale)
        Me.Controls.Add(Me.lblScale)
        Me.Controls.Add(Me.nudSize)
        Me.Controls.Add(Me.lblSize)
        Me.Controls.Add(Me.lblSourceColumn)
        Me.Enabled = CType(resources.GetObject("$this.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me, resources.GetString("$this.Error"))
        Me.Font = CType(resources.GetObject("$this.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me, CType(resources.GetObject("$this.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me, CType(resources.GetObject("$this.IconPadding"), Integer))
        Me.ImeMode = CType(resources.GetObject("$this.ImeMode"), System.Windows.Forms.ImeMode)
        Me.Location = CType(resources.GetObject("$this.Location"), System.Drawing.Point)
        Me.Name = "UParameter"
        Me.RightToLeft = CType(resources.GetObject("$this.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.Size = CType(resources.GetObject("$this.Size"), System.Drawing.Size)
        CType(Me.nudPrecision, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.nudScale, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.nudSize, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)

    End Sub

#End Region

    Public Event ValueChanged As EventHandler

    Private Sub UParameter_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        AddHandler txtName.TextChanged, AddressOf OnValueChanged
        AddHandler chkIsNullable.CheckedChanged, AddressOf OnValueChanged
        AddHandler cboDbType.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler nudSize.ValueChanged, AddressOf OnValueChanged : AddHandler nudSize.TextChanged, AddressOf OnValueChanged
        AddHandler nudScale.ValueChanged, AddressOf OnValueChanged : AddHandler nudScale.TextChanged, AddressOf OnValueChanged
        AddHandler nudPrecision.ValueChanged, AddressOf OnValueChanged : AddHandler nudPrecision.TextChanged, AddressOf OnValueChanged
        AddHandler cboSourceColumn.TextChanged, AddressOf OnValueChanged
        AddHandler cboSourceVersion.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler cboDirection.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler chkNothing.CheckedChanged, AddressOf OnValueChanged
        AddHandler txtValue.TextChanged, AddressOf OnValueChanged
    End Sub
    Private Sub txtName_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtName.Validated
        If txtName.Text = "" Then
            ErrorProvider1.SetError(txtName, "Parameter Name is required.")
        Else
            ErrorProvider1.SetError(txtName, "")
        End If
    End Sub
    Private Sub chkDBNull_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkNothing.CheckedChanged
        If chkNothing.Checked Then
            lblValue.Enabled = False
            txtValue.Enabled = False
        Else
            lblValue.Enabled = True
            txtValue.Enabled = True
        End If
    End Sub

    Protected Sub OnValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        RaiseEvent ValueChanged(Me, New EventArgs)
    End Sub

    Public Sub Prepare(ByVal command As Model10.Command)
        cboDbType.Items.Clear()
        cboDbType.Items.Add(DbType.AnsiString)
        cboDbType.Items.Add(DbType.Binary)
        cboDbType.Items.Add(DbType.Byte)
        cboDbType.Items.Add(DbType.Boolean)
        cboDbType.Items.Add(DbType.Currency)
        cboDbType.Items.Add(DbType.Date)
        cboDbType.Items.Add(DbType.DateTime)
        cboDbType.Items.Add(DbType.Decimal)
        cboDbType.Items.Add(DbType.Double)
        cboDbType.Items.Add(DbType.Guid)
        cboDbType.Items.Add(DbType.Int16)
        cboDbType.Items.Add(DbType.Int32)
        cboDbType.Items.Add(DbType.Int64)
        cboDbType.Items.Add(DbType.Object)
        cboDbType.Items.Add(DbType.[SByte])
        cboDbType.Items.Add(DbType.Single)
        cboDbType.Items.Add(DbType.String)
        cboDbType.Items.Add(DbType.Time)
        cboDbType.Items.Add(DbType.UInt16)
        cboDbType.Items.Add(DbType.UInt32)
        cboDbType.Items.Add(DbType.UInt64)
        cboDbType.Items.Add(DbType.VarNumeric)
        cboDbType.Items.Add(DbType.AnsiStringFixedLength)
        cboDbType.Items.Add(DbType.StringFixedLength)
        '-------------------
        cboSourceColumn.Items.Clear()

        Dim dc As DataColumn
        For Each dc In command.Table.DataTable.Columns
            cboSourceColumn.Items.Add(dc.ColumnName)
        Next : dc = Nothing
        '-------------------
        cboSourceVersion.Items.Clear()
        cboSourceVersion.Items.Add(DataRowVersion.Original)
        cboSourceVersion.Items.Add(DataRowVersion.Current)
        cboSourceVersion.Items.Add(DataRowVersion.Proposed)
        cboSourceVersion.Items.Add(DataRowVersion.Default)
        '-------------------
        cboDirection.Items.Clear()
        cboDirection.Items.Add(ParameterDirection.Input)
        cboDirection.Items.Add(ParameterDirection.Output)
        cboDirection.Items.Add(ParameterDirection.InputOutput)
        cboDirection.Items.Add(ParameterDirection.ReturnValue)
    End Sub

    Public Sub Read(ByVal parameter As Model10.Parameter)
        txtName.Text = parameter.Name
        chkIsNullable.Checked = parameter.IsNullable
        cboDbType.SelectedItem = parameter.DbType
        nudSize.Value = parameter.Size
        nudScale.Value = parameter.Scale
        nudPrecision.Value = parameter.Precision
        cboSourceColumn.Text = parameter.SourceColumn
        cboSourceVersion.SelectedItem = parameter.SourceVersion
        cboDirection.SelectedItem = parameter.Direction
        chkNothing.Checked = parameter.Value Is Nothing
        If parameter.Value Is Nothing Then
            txtValue.Text = ""
        Else
            txtValue.Text = parameter.Value.ToString
        End If
    End Sub
    Public Sub Write(ByVal parameter As Model10.Parameter)
        parameter.Name = txtName.Text
        parameter.IsNullable = chkIsNullable.Checked
        parameter.DbType = CType(cboDbType.SelectedItem, DbType)
        parameter.Size = CInt(nudSize.Value)
        parameter.Scale = CByte(nudScale.Value)
        parameter.Precision = CByte(nudPrecision.Value)
        parameter.SourceColumn = cboSourceColumn.Text
        parameter.SourceVersion = CType(cboSourceVersion.SelectedItem, DataRowVersion)
        parameter.Direction = CType(cboDirection.SelectedItem, ParameterDirection)
        If chkNothing.Checked Then
            parameter.Value = Nothing
        Else
            parameter.Value = txtValue.Text
        End If
    End Sub
End Class

'Select Case parameter.DbType
'    Case DbType.AnsiString : cboDbType.SelectedIndex = 0
'    Case DbType.Binary : cboDbType.SelectedIndex = 1
'    Case DbType.Byte : cboDbType.SelectedIndex = 2
'    Case DbType.Boolean : cboDbType.SelectedIndex = 3
'    Case DbType.Currency : cboDbType.SelectedIndex = 4
'    Case DbType.Date : cboDbType.SelectedIndex = 5
'    Case DbType.DateTime : cboDbType.SelectedIndex = 6
'    Case DbType.Decimal : cboDbType.SelectedIndex = 7
'    Case DbType.Double : cboDbType.SelectedIndex = 8
'    Case DbType.Guid : cboDbType.SelectedIndex = 9
'    Case DbType.Int16 : cboDbType.SelectedIndex = 10
'    Case DbType.Int32 : cboDbType.SelectedIndex = 11
'    Case DbType.Int64 : cboDbType.SelectedIndex = 12
'    Case DbType.Object : cboDbType.SelectedIndex = 13
'    Case DbType.SByte : cboDbType.SelectedIndex = 14
'    Case DbType.Single : cboDbType.SelectedIndex = 15
'    Case DbType.String : cboDbType.SelectedIndex = 16
'    Case DbType.Time : cboDbType.SelectedIndex = 17
'    Case DbType.UInt16 : cboDbType.SelectedIndex = 18
'    Case DbType.UInt32 : cboDbType.SelectedIndex = 19
'    Case DbType.UInt64 : cboDbType.SelectedIndex = 20
'    Case DbType.VarNumeric : cboDbType.SelectedIndex = 21
'    Case DbType.AnsiStringFixedLength : cboDbType.SelectedIndex = 22
'    Case DbType.StringFixedLength : cboDbType.SelectedIndex = 23
'End Select
'Select Case cboDbType.SelectedIndex
'    Case 0 : cboDbType.SelectedIndex = DbType.AnsiString
'    Case 1 : cboDbType.SelectedIndex = DbType.Binary
'    Case 2 : cboDbType.SelectedIndex = DbType.Byte
'    Case 3 : cboDbType.SelectedIndex = DbType.Boolean
'    Case 4 : cboDbType.SelectedIndex = DbType.Currency
'    Case 5 : cboDbType.SelectedIndex = DbType.Date
'    Case 6 : cboDbType.SelectedIndex = DbType.DateTime
'    Case 7 : cboDbType.SelectedIndex = DbType.Decimal
'    Case 8 : cboDbType.SelectedIndex = DbType.Double
'    Case 9 : cboDbType.SelectedIndex = DbType.Guid
'    Case 10 : cboDbType.SelectedIndex = DbType.Int16
'    Case 11 : cboDbType.SelectedIndex = DbType.Int32
'    Case 12 : cboDbType.SelectedIndex = DbType.Int64
'    Case 13 : cboDbType.SelectedIndex = DbType.Object
'    Case 14 : cboDbType.SelectedIndex = DbType.SByte
'    Case 15 : cboDbType.SelectedIndex = DbType.Single
'    Case 16 : cboDbType.SelectedIndex = DbType.String
'    Case 17 : cboDbType.SelectedIndex = DbType.Time
'    Case 18 : cboDbType.SelectedIndex = DbType.UInt16
'    Case 19 : cboDbType.SelectedIndex = DbType.UInt32
'    Case 20 : cboDbType.SelectedIndex = DbType.UInt64
'    Case 21 : cboDbType.SelectedIndex = DbType.VarNumeric
'    Case 22 : cboDbType.SelectedIndex = DbType.AnsiStringFixedLength
'    Case 23 : cboDbType.SelectedIndex = DbType.StringFixedLength
'End Select